<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>添加险种</title>
    <link rel="stylesheet" href="../static/layui1/css/layui.css">
    <script src="../static/js/jquery.min.js"></script>
</head>
<style>
    html, body {
        background: url("../static/img/img10.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-attachment: fixed;
    }

    .box3 {


        margin-left: 400px;
        margin-top: 100px;
        bottom: 0;

        border: solid 1px black;
        width: 40%;
        height: 400px;
        /*background-image: linear-gradient(to top,#3a90db ,#ddd);*/
        background-color: #a5b3c7;
    }

    label {

        width: 150px;
        margin-left: auto;

        display: inline-block;
        margin-top: 20px;

        text-align: center;

    }

    input {
        padding: 4px;
        width: 300px;
        margin-left: 0px;

    }

    #btn {
        margin-left: 230px;
        width: 150px;

    }

    input:focus {
        border-color: red;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6)
    }
</style>
<body>

<div class="layui-layout layui-layout-admin">
    <div class="layui-header">

        <div class="layui-logo layui-hide-xs layui-bg-black">智能车险投保系统</div>
        <!-- 头部区域（可配合layui 已有的水平导航） -->

        <ul class="layui-nav layui-layout-left">

            <!-- 移动端显示 -->
            <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-header-event="menuLeft">
                <i class="layui-icon layui-icon-spread-left"></i>
            </li>

        </ul>

        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item layui-hide layui-show-md-inline-block">
                <a href="javascript:;">
                    <img src="//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg"
                         class="layui-nav-img">
                    管理员
                </a>
                <dl class="layui-nav-child">

                    <dd><a th:href="@{login}">退出登录</a></dd>

                </dl>
            </li>
            <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
                <a href="javascript:;">
                    <i class="layui-icon layui-icon-more-vertical"></i>
                </a>
            </li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item ">
                    <a href="javascript:;">保单管理</a>
                    <dl class="layui-nav-child">
                        <dd><a th:href="@{toubaodan}">保单审核</a></dd>

                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">信息管理</a>
                    <dl class="layui-nav-child">
                        <dd><a th:href="@{addbasiscarinfo}">添加车辆基础信息</a></dd>
                        <dd><a th:href="@{addinsurance}">保险种类信息</a></dd>

                    </dl>
                </li>



            </ul>
        </div>
    </div>
    <div class="box3">
        <h2 align="center">添加险种</h2>
        <form th:action="@{/addinsurance}" method="post">
            <div><label>险种名：</label>
                <input type="text" name="insurancename" /><br />
            </div>
            <div>
                <label>不计赔付：</label>
                <input type="text" name="notpay" /><br />
            </div>
            <div>
                <label>费率浮动：</label>
                <input type="text" name="ratefloat" /><br />
            </div>
            <div>
                <label>保险金额：</label>
                <input type="text" name="insurancepay" /><br />
            </div>
            <div>
                <label>保险费：</label>
                <input type="text" name="insurancemoney" /><br />
            </div>
            <br/>
            <tr>
                <td> <button type="submit" class="layui-btn layui-btn-normal" id="btn">提交</button></td>
            </tr>
        </form>
    </div>
</div>
<script src="../static/layui1/layui.js"></script>

</body>
</html>